package com.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.pojo.dto.ParkingAIQueryDto;
import com.community.pojo.dto.ParkingQueryDto;
import com.community.pojo.entity.Parking;
import com.community.pojo.vo.ParkingListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ParkingMapper extends BaseMapper<Parking> {

    List<ParkingListVo> findParkingListByQueryDto(ParkingQueryDto parkingQueryDto);

    /**
     * 带条件的AI查询
     * @param parkingAIQueryDto
     * @return
     */
    List<ParkingListVo> findParkingByAIQueryDto(ParkingAIQueryDto parkingAIQueryDto);

}